#!/usr/bin/node
const log = console.log，

      info = process.argv[2];//base64 content

if(process.argv.length!==3 || process.argv[2]==' '){
  log('请输入cmd base64_string格式的命令行参数');
  process.exit(2);
};



let buf = new Buffer(info,'base64');
let usr = buf.toString('utf8').split(':');

log(`usr:${usr[0]}`);
log(`pwd:${usr[1]}`);
